
import u from "../utils";
import { EXCEL } from "../constants";

const _api = u.api(EXCEL);

export default {
    loadCustomCode : (id) => _api('queryCustomCodeById', { data: {id}, type: 'get' }),
    queryCustomCodeById :(id) => _api(`queryCustomCodeById`, { data: {id}, type: 'get' }),
    saveCustomCode :(params) => _api(`saveCustomCode`, { data: {...params}, type: 'post' }),
};
